﻿<%@ Page Language="C#" MasterPageFile="~/MasterPages/BaseMaster.master" 
CodeFile="login.aspx.cs" Inherits="MasterPages_Default" %>
<asp:Content ID="Content" ContentPlaceHolderID="Base_ContentPlaceHolder" Runat="Server">
<div id="admin_login">
    <table>
        <tr>
            <td><asp:Label ID="username_table" runat="server" Text="管理员"></asp:Label></td>
            <td><asp:TextBox ID="username_textbox" runat="server"></asp:TextBox>
                <asp:RequiredFieldValidator ID="username_required_validator" runat="server"
                 ControlToValidate="username_textbox" ErrorMessage="*" ValidationGroup="login">
                </asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td><asp:Label ID="pwd_lable" runat="server" Text="密 码"></asp:Label></td>
            <td><asp:TextBox ID="pwd_textbox" runat="server" TextMode="Password"></asp:TextBox>
                <asp:RequiredFieldValidator ID="pwd_required_validator" runat="server"
                 ControlToValidate="pwd_textbox" ErrorMessage="*" ValidationGroup="login">
                </asp:RequiredFieldValidator>
            </td>
        </tr>
        <tr>
            <td colspan="2"><asp:Button ID="login_btn" runat="server" Text="登 录"
                OnClick="OnLoginBtnClick" ValidationGroup="login" /></td>
        </tr>
    </table>
</div>
</asp:Content>

